package com.ys.service.finance;

import com.ys.vo.R;

import java.util.List;
import java.util.Map;

/**
 * 费用划拨单
 */
public interface TcwExpenseAllocationService {

	R add(Map<String, Object> params,long menuId) throws Exception ;

	R edit(String bid, Map<String, Object> params,long menuId) throws Exception ;

	R deleteTrue(Long id) throws Exception;
	//删除列表
	R toDelByItem(Long id)throws Exception;
	//流转通过
	R flowPass(Long id, String loginUserId) throws Exception;

	R flowRefuse(Long id, String reason, String loginUserId) throws Exception;

	//流转结束
	void flowFinish(String bid) throws Exception;


	R flowInit(Long id, String reason, String loginUserId) throws Exception;

	//批量导入
	R importInfo(String rows,Long menuId);


	//获取列表数据
	Map<String,Object> getExtraParam( String bid) throws Exception;

	//获取子列表数据
	List<Map<String, Object>> getItemList(String bid) throws Exception;

}